From: Florian Müllner Date: Tue, 3 Mar 2015 22:22:02 +0000 (+0100) Subject: dateMenu: Set label_actor for WorldClock button X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1576 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=bb2d7f7e7e6dfc6096472ec0a05f5b2870697e5e;p=gnome-shell.git dateMenu: Set label_actor for WorldClock button Ideally we would allow navigating into the button in the screen reader case, so the configured clocks are read out properly. However we can still do better than nothing short-term by pointing to the section header as the button's label_actor. https://bugzilla.gnome.org/show_bug.cgi?id=745393 --- diff --git a/js/ui/dateMenu.js b/js/ui/dateMenu.js index cd77c41be..7307d7d8f 100644 --- a/js/ui/dateMenu.js +++ b/js/ui/dateMenu.js @@ -163,6 +163,7 @@ const WorldClocksSection = new Lang.Class({ x_align: Clutter.ActorAlign.START, text: title }); layout.attach(header, 0, 0, 2, 1); + this.actor.label_actor = header; for (let i = 0; i < this._locations.length; i++) { let l = this._locations[i].location;